package com.av.bcacc.javaapi.thread.demo;

public class Thread001 extends Thread{
    private int count;
    @Override
    public void run() {
        while (count<10){
            System.out.println(this.getName()+"do ..."+count++);
//            try {
//                Thread.sleep(1000);
//            } catch (InterruptedException e) {
//                e.printStackTrace();
//            }
        }
    }
}
